package yang.itcode.mapper;

import cn.hutool.json.JSONObject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import yang.itcode.model.pojo.OtherCost;

import java.util.List;

@Mapper
public interface OtherCostMapper {
    int insert(OtherCost otherCost);

    int update(OtherCost otherCost);

    int deleteById(Integer id);

    OtherCost selectById(Integer id);

    List<OtherCost> selectAll();

    List<OtherCost> selectByCondition(JSONObject condition);

    List<JSONObject> selectOtherCostView(JSONObject condition);
}
